package com.clwl.supervise.superviseapp.entity.risk;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 动态评定
    */
@Data
@TableName(value = "JG_DYNAMIC_SCORING")
//@KeySequence(value = "JG_DYNAMIC_SCORING_SQE")
public class JgDynamicScoring implements Serializable {
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 企业id
     */
    @TableField(value = "COMPANY_ID")
    private Long companyId;

    /**
     * 企业名称
     */
    @TableField(value = "COMPANY_NAME")
    private String companyName;

    /**
     * 统一会社信用代码
     */
    @TableField(value = "CREDIT_CODE")
    private String creditCode;

    /**
     * 许可证编码
     */
    @TableField(value = "LICENSE")
    private String license;

    /**
     * 模板id
     */
    @TableField(value = "TEMPLATE_ID")
    private Long templateId;

    /**
     * 评分年度
     */
    @TableField(value = "SCORE_YEAR")
    private String scoreYear;

    /**
     * 评分时间
     */
    @TableField(value = "SCORE_TIME")
    private String scoreTime;

    /**
     * 动态风险因素量化分值表url
     */
    @TableField(value = "DYNAMIC_SCORE_TABLE_URL")
    private String dynamicScoreTableUrl;

    /**
     * 门脸照片url
     */
    @TableField(value = "COMANY_PIC")
    private String comanyPic;

    /**
     * 告知页url
     */
    @TableField(value = "INFORM_URL")
    private String informUrl;

    /**
     * 监管机构id
     */
    @TableField(value = "DEPT_ID")
    private Long deptId;

    /**
     * 监管机构名称
     */
    @TableField(value = "DEPT_NAME")
    private String deptName;

    /**
     * 检查时间
     */
    @TableField(value = "CHECK_TIME")
    private String checkTime;

    /**
     * 检查人员(网格负责人)1id
     */
    @TableField(value = "CHECK_PERSON1_ID")
    private Long checkPerson1Id;

    /**
     * 检查人员(网格负责人)1姓名
     */
    @TableField(value = "CHECK_PERSON1_NAME")
    private String checkPerson1Name;

    /**
     * 检查人员(网格负责人)2id
     */
    @TableField(value = "CHECK_PERSON2_ID")
    private Long checkPerson2Id;

    /**
     * 检查人员(网格负责人)2姓名
     */
    @TableField(value = "CHECK_PERSON2_NAME")
    private String checkPerson2Name;

    /**
     * 评分人1id
     */
    @TableField(value = "SCORE_PERSON1_ID")
    private Long scorePerson1Id;

    /**
     * 评分人1姓名
     */
    @TableField(value = "SCORE_PERSON1_NAME")
    private String scorePerson1Name;

    /**
     * 评分人2id
     */
    @TableField(value = "SCORE_PERSON2_ID")
    private Long scorePerson2Id;

    /**
     * 评分人2姓名
     */
    @TableField(value = "SCORE_PERSON2_NAME")
    private String scorePerson2Name;

    /**
     * 经营状态：0正常，1异常
     */
    @TableField(value = "MANAGE_STATUS")
    private String manageStatus;

    /**
     * 延期定级：0是，1否
     */
    @TableField(value = "DELAY_RATING")
    private String delayRating;

    /**
     * 总分
     */
    @TableField(value = "SCORE_TOTAL")
    private Double scoreTotal;

    /**
     * 其他问题
     */
    @TableField(value = "OTHER_PROBLEM")
    private String otherProblem;

    /**
     * 检查结果-重点项数量
     */
    @TableField(value = "IMPORTENT_COUNT")
    private Long importentCount;

    /**
     * 检查结果-重点项序号
     */
    @TableField(value = "IMPORTENT_ORDERS")
    private String importentOrders;

    /**
     * 检查结果-一般项数量
     */
    @TableField(value = "GENERAL_COUNT")
    private Long generalCount;

    /**
     * 检查结果-一般项序号
     */
    @TableField(value = "GENERAL_ORDERS")
    private String generalOrders;

    /**
     * 说明
     */
    @TableField(value = "DESCRIPTION")
    private String description;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR")
    private String creator;

    /**
     * 创建人部门id
     */
    @TableField(value = "CREATE_DEPT_ID")
    private Long createDeptId;

    /**
     * 创建人部门名称
     */
    @TableField(value = "CREATE_DEPT_NAME")
    private String createDeptName;

    /**
     * 是否删除：0-否，1-是;-1许可变更后保留；2-临时保存的
     */
    @TableField(value = "DELETE_FLAG")
    private Long deleteFlag;

    /**
     * 异常核查时间
     */
    @TableField(value = "ABNORMAL_TIME")
    private String abnormalTime;

    /**
     * 异常原因
     */
    @TableField(value = "ABNORMAL_REASON")
    private String abnormalReason;

    /**
     * 异常说明照片URL
     */
    @TableField(value = "ABNORMAL_IMG_URL")
    private String abnormalImgUrl;
    /**
     * 异常情况核查记录
     */
    @TableField(value = "ABNORMAL_CHECK_RECORD")
    private String abnormalCheckRecord;

    /**
     * 延期录入时间
     */
    @TableField(value = "DELAY_TIME")
    private String delayTime;

    /**
     * 延期时限
     */
    @TableField(value = "DELAY_LIMITATION")
    private String delayLimitation;

    /**
     * 延期说明图片
     */
    @TableField(value = "DELAY_IMG_URL")
    private String delayImgUrl;

    /**
     * 检查查 结果:1- 符合,2-基本符合,3-不符合;4-其他
     */
    @TableField(value = "CHECK_RESULTS")
    private String checkResults;

    /**
     * 处理结果:1-通过,2-责令整改,3-调查处理
     */
    @TableField(value = "COPE_RESULT")
    private String copeResult;

    /**
     * 整改日期
     */
    @TableField(value = "RESULT_TIME")
    private String resultTime;

    /**
     * 日常监督检查要点表url
     */
    @TableField(value = "KEY_POINTS_TABLE_URL")
    private String keyPointsTableUrl;

    /**
     * 检查结果记录表
     */
    @TableField(value = "CHECK_RECORD_TABLE_URL")
    private String checkRecordTableUrl;

    /**
     * 结果记录表序号
     */
    @TableField(value = "RESULT_RECORD_INDEX")
    private Long resultRecordIndex;


    @TableField(value = "SUP_PROCESS",exist = false)
    private String supProcess;

    private static final long serialVersionUID = 1L;


}
